Wraps a nkTasks::Task and offers functions for use in scripting. More...
Static Public Member Functions | |
static void | updateEnvironment (nkScripts::Environment *env) |
static void * | constructor (nkScripts::Environment *env, const nkScripts::DataStack &stack) |
static void | destructor (void *toDestroy) |
static nkScripts::OutputValue | getWorkResult (void *data) |
static nkScripts::OutputValue | getInputBinaryData (void *data) |
static nkScripts::OutputValue | getOutputBinaryData (void *data) |
static void | setWorkFunc (const nkScripts::DataStack &stack) |
static void | setInitScript (const nkScripts::DataStack &stack) |
static void | setInputBinaryData (const nkScripts::DataStack &stack) |
static void | setOutputBinaryData (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | addInputUserData (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | addOutputUserData (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | getInputUserData (const nkScripts::DataStack &stack) |
static nkScripts::OutputValue | getOutputUserData (const nkScripts::DataStack &stack) |
Wraps a nkTasks::Task and offers functions for use in scripting.
The wrapper internally uses the nkAstraeus::lua::LuaTask to achieve its purpose.
|
static |
Updates a given environment and set it up to use all functions wrapped by this wrapper.
env | The environment to set up. |
|
static |
Wrapper function for the constructor of the user type.
env | The calling environment. |
stack | The parameter stack. |
|
static |
Wrapper function for the destructor of the user type.
toDestroy | The data that has to be freed. |
|
static |
Wrapper function for the nkTasks::Task::getWorkResult(), exposed as an attribute getter.
data | The data from which the attribute will be retrieved. |
|
static |
Wrapper function for the nkAstraeus::lua::nkTasksWrap::LuaTask::getInputBinaryData(), exposed as an attribute getter.
data | The data from which the attribute will be retrieved. |
|
static |
Wrapper function for the nkAstraeus::lua::nkTasksWrap::LuaTask::getOutputBinaryData(), exposed as an attribute getter.
data | The data from which the attribute will be retrieved. |
|
static |
Wrapper function for nkAstraeus::lua::nkTasksWrap::LuaTask::setWorkFuncReference(), exposed as an attribute setter.
stack | The parameter stack. |
|
static |
Wrapper function for nkAstraeus::lua::nkTasksWrap::LuaTask::setInitScript(), exposed as an attribute setter.
stack | The parameter stack. |
|
static |
Wrapper function for nkAstraeus::lua::nkTasksWrap::LuaTask::setInputBinaryData(), exposed as an attribute setter.
stack | The parameter stack. |
|
static |
Wrapper function for nkAstraeus::lua::nkTasksWrap::LuaTask::setOutputBinaryData(), exposed as an attribute setter.
stack | The parameter stack. |
|
static |
Wrapper function for nkAstraeus::lua::nkTasksWrap::LuaTask::addInputUserData().
stack | The parameter stack. |
|
static |
Wrapper function for nkAstraeus::lua::nkTasksWrap::LuaTask::addOutputUserData().
stack | The parameter stack. |
|
static |
Wrapper function for nkAstraeus::lua::nkTasksWrap::LuaTask::getInputUserData().
stack | The parameter stack. |
|
static |
Wrapper function for nkAstraeus::lua::nkTasksWrap::LuaTask::getOutputUserData().
stack | The parameter stack. |